<!Doctype html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <link th:href="@{/bootstrap-4.5.0-dist/css/bootstrap.css}" rel="stylesheet">
</head>

<body>
    <div class="container">
        <h3>修改房源状态信息</h3>
        <form th:action="@{/restful/house/} + ${id}" method="post">
            <input hidden name="_method" value="put">
            <div class="form-group">
                ID:  <span th:text="${id}"></span>
            </div>
            <div class="form-group">
                <label >房屋状态</label>
        <!--        <select>
                    <option th:value="${house.housestate}">在售</option>
                    <option th:value="${house.housestate}">出售</option>
                    <option>山东</option>
                    <option>北京</option>
                </select>-->
                <br>
                <input th:class="shadow-none" name="housestate" th:value="${house.housestate}" class="form-control">

           </div>

            <input type="submit" class="btn btn-success">
            &nbsp; &nbsp; &nbsp;
            <input type="reset" value="Reset" class="btn btn-info" />
        </form>

    </div>




</body>

</html>